/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 19182
 * Date: 2025-09-16
 * Time: 13:50
 */
public class SingleLetonLazy {
    private static SingleLetonLazy instance = null;
    private static Object locker = new Object();
    private SingleLetonLazy(){

    }
    public SingleLetonLazy getInstance(){
        if(instance == null){
            synchronized (locker){
                if(instance == null){
                    instance = new SingleLetonLazy();
                }
            }
        }
        return instance;
    }
    public static void main(String[] args) {

    }
}
